//
//  RichButton.h
//  PollutantSource
//
//  Created by Potter on 15-1-10.
//  Copyright (c) 2015年 etouch. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    RichButtonImgLeft = 0,              //整体居中
    RichButtonImgRight,
    //add by nyz
    RichButtonImgLeftAlignmentLeft,     //整体靠左
    RichButtonImgLeftAlignmentRight,    //整体靠右
    RichButtonImgRightAlignmentLeft,
    RichButtonImgRightAlignmentRight,
}RichButtonStyle;

@interface RichButton : UIButton

@property (nonatomic,strong)NSNumber * interval;
@property (nonatomic,strong)UIFont*   richFont;             //在xib中使用必须设置richFont和titleFont
@property (nonatomic,assign)RichButtonStyle style;

- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state;

@end
